package com.wmg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    //   注册页面
    @GetMapping("/toRegist")
    public String toRegist(){
        return "regist";
    }

    //   登录页面
    @GetMapping("/toLogin")
    public String toPage(){
        return "login";
    }

}
